﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <!-- EXERCÍCIO 10 ################################################# -->

    <Transform3DGroup x:Key="Transform_Geral">
        <TranslateTransform3D OffsetX="-2"
                              OffsetY="-2"
                              OffsetZ="-2" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_Engastamento">
        <TranslateTransform3D OffsetX="-1"
                              OffsetY="-0.5"
                              OffsetZ="-0.5" />
        <ScaleTransform3D ScaleX="0.15"
                          ScaleY="0.4"
                          ScaleZ="0.4" />
        <TranslateTransform3D OffsetX="0"
                              OffsetY="1"
                              OffsetZ="4" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_BarraAB">
        <StaticResource ResourceKey="Transform_EspessuraBarra" />
        <ScaleTransform3D ScaleZ="4" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,1,0"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetY="1"
                              OffsetZ="4" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_BarraBC">
        <StaticResource ResourceKey="Transform_EspessuraBarra" />
        <ScaleTransform3D ScaleZ="1" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="1,0,0"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetX="4"
                              OffsetY="1"
                              OffsetZ="4" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_BarraCD">
        <StaticResource ResourceKey="Transform_EspessuraBarra" />
        <ScaleTransform3D ScaleZ="4" />
        <TranslateTransform3D OffsetX="4" />

    </Transform3DGroup>
    <Transform3DGroup x:Key="Transform_BarraBE">
        <StaticResource ResourceKey="Transform_EspessuraBarra" />
        <ScaleTransform3D ScaleZ="3" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="1,0,0"
                                     Angle="-90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetX="4"
                              OffsetY="1"
                              OffsetZ="4" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_NoB">
        <StaticResource ResourceKey="Transform_EspessuraBarra" />
        <ScaleTransform3D ScaleZ="0.05" />
        <TranslateTransform3D OffsetX="4"
                              OffsetY="4"
                              OffsetZ="4" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_NoC">
        <StaticResource ResourceKey="Transform_EspessuraBarra" />
        <ScaleTransform3D ScaleZ="0.05" />
        <TranslateTransform3D OffsetX="4"
                              OffsetZ="4" />
    </Transform3DGroup>
    
    <Transform3DGroup x:Key="Transform_NoD">
        <StaticResource ResourceKey="Transform_EspessuraBarra" />
        <ScaleTransform3D ScaleZ="0.05" />
        <TranslateTransform3D OffsetX="4" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_Forcas">
        <StaticResource ResourceKey="Transform_EspessuraVetor" />
        <ScaleTransform3D ScaleZ="1" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_ForcaD">
        <StaticResource ResourceKey="Transform_Forcas" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,1,0"
                                     Angle="-90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetX="4.95" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_ForcaE">
        <StaticResource ResourceKey="Transform_Forcas" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,1,0"
                                     Angle="180" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetX="4"
                              OffsetY="4"
                              OffsetZ="3.95" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_CargaCD">
        <StaticResource ResourceKey="Transform_Forcas" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,1,0"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,0,1"
                                     Angle="-90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetX="4"
                              OffsetY="0.65" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_CargaCD01">
        <StaticResource ResourceKey="Transform_CargaCD" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_CargaCD02">
        <StaticResource ResourceKey="Transform_CargaCD" />
        <TranslateTransform3D OffsetZ="0.4" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_CargaCD03">
        <StaticResource ResourceKey="Transform_CargaCD" />
        <TranslateTransform3D OffsetZ="0.8" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_CargaCD04">
        <StaticResource ResourceKey="Transform_CargaCD" />
        <TranslateTransform3D  OffsetZ="1.2" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_CargaCD05">
        <StaticResource ResourceKey="Transform_CargaCD" />
        <TranslateTransform3D  OffsetZ="1.6" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_CargaCD06">
        <StaticResource ResourceKey="Transform_CargaCD" />
        <TranslateTransform3D  OffsetZ="2.0" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_CargaCD07">
        <StaticResource ResourceKey="Transform_CargaCD" />
        <TranslateTransform3D   OffsetZ="2.4" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_CargaCD08">
        <StaticResource ResourceKey="Transform_CargaCD" />
        <TranslateTransform3D  OffsetZ="2.8" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_CargaCD09">
        <StaticResource ResourceKey="Transform_CargaCD" />
        <TranslateTransform3D  OffsetZ="3.2" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_CargaCD10">
        <StaticResource ResourceKey="Transform_CargaCD" />
        <TranslateTransform3D  OffsetZ="3.6" />
    </Transform3DGroup>

    <!-- Graficos -->

    <Transform3DGroup x:Key="Transform_Grafico_NormalAB">
        <ScaleTransform3D ScaleX="4"
                          ScaleY="0.5" />
        <TranslateTransform3D OffsetY="1"
                              OffsetZ="4" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_Grafico_NormalBC">
        <ScaleTransform3D ScaleX="1"
                          ScaleY="1.2" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,0,1"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,1,0"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetX="4"
                              OffsetZ="4" />
    </Transform3DGroup>
    
    <Transform3DGroup x:Key="Transform_Grafico_CortanteAB_XY">
        <ScaleTransform3D ScaleX="4"
                          ScaleY="1.2" />
        <TranslateTransform3D OffsetY="1"
                              OffsetZ="4" />
    </Transform3DGroup>
    
    <Transform3DGroup x:Key="Transform_Grafico_CortanteAB_XZ">
        <ScaleTransform3D ScaleX="4"
                          ScaleY="0.5" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="1,0,0"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetY="1"
                              OffsetZ="4" />
    </Transform3DGroup>
    
    <Transform3DGroup x:Key="Transform_Grafico_CortanteBC">
        <ScaleTransform3D ScaleX="1"
                          ScaleY="0.5" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,0,1"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetX="4"
                              OffsetZ="4" />
    </Transform3DGroup>
    
    <Transform3DGroup x:Key="Transform_Grafico_CortanteBE">
        <ScaleTransform3D ScaleX="3"
                          ScaleY="0.5" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,0,1"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,1,0"
                                     Angle="-90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetX="4"
                              OffsetY="1"
                              OffsetZ="4" />
    </Transform3DGroup>
    
    <Transform3DGroup x:Key="Transform_Grafico_CortanteCD_YZ">
        <ScaleTransform3D ScaleX="4"
                          ScaleY="1.2" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,1,0"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <!-- Este valor 4.001 é para evitar a sobreposição -->
        <TranslateTransform3D OffsetX="4.001"
                              OffsetZ="4" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_Grafico_CortanteCD_XZ">
        <ScaleTransform3D ScaleX="4"
                          ScaleY="0.5" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,1,0"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,0,1"
                                     Angle="-90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetX="4"
                              OffsetZ="4" />
    </Transform3DGroup>
    
    <Transform3DGroup x:Key="Transform_Grafico_FletorAB_XY">
        <ScaleTransform3D ScaleX="4"
                          ScaleY="5.3" />
        <TranslateTransform3D OffsetY="1"
                              OffsetZ="4" />
    </Transform3DGroup>
    
    <Transform3DGroup x:Key="Transform_Grafico_FletorAB_XZ">
        <ScaleTransform3D ScaleX="4"
                          ScaleY="4.0" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="1,0,0"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetY="1"
                              OffsetZ="4" />
    </Transform3DGroup>
    
    <Transform3DGroup x:Key="Transform_Grafico_FletorBC_YZ">
        <ScaleTransform3D ScaleX="1"
                          ScaleY="2.4" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,0,1"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,1,0"
                                     Angle="-90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <!-- Este valor 4.001 é para evitar a sobreposição -->
        <TranslateTransform3D OffsetX="4.001"
                              OffsetZ="4" />
    </Transform3DGroup>
    
    <Transform3DGroup x:Key="Transform_Grafico_FletorCD_YZ">
        <ScaleTransform3D ScaleX="4"
                          ScaleY="2.4" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,1,0"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetX="4"
                              OffsetZ="4" />
    </Transform3DGroup>
    
    <Transform3DGroup x:Key="Transform_Grafico_FletorCD_XZ">
        <ScaleTransform3D ScaleX="4"
                          ScaleY="2.0" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,1,0"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,0,1"
                                     Angle="-90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetX="4"
                              OffsetZ="4" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_Grafico_FletorBE">
        <ScaleTransform3D ScaleX="3"
                          ScaleY="1.5" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,0,1"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,1,0"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetX="4"
                              OffsetY="1"
                              OffsetZ="4" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_Grafico_FletorBC_XY">
        <ScaleTransform3D ScaleX="1"
                          ScaleY="0.5" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,0,1"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,1,0"
                                     Angle="180" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetX="4"
                              OffsetZ="4" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_Grafico_TorcorAB">
        <ScaleTransform3D ScaleX="4"
                          ScaleY="3.9" />
        <TranslateTransform3D OffsetY="1"
                              OffsetZ="4" />
    </Transform3DGroup>

    <Transform3DGroup x:Key="Transform_Grafico_TorcorBC">
        <ScaleTransform3D ScaleX="1"
                          ScaleY="2.0" />
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,0,1"
                                     Angle="90" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <RotateTransform3D>
            <RotateTransform3D.Rotation>
                <AxisAngleRotation3D Axis="0,1,0"
                                     Angle="180" />
            </RotateTransform3D.Rotation>
        </RotateTransform3D>
        <TranslateTransform3D OffsetX="4"
                              OffsetZ="4" />
    </Transform3DGroup>

</ResourceDictionary>